class {
    onCreate() {
        this.state = {
            count: 0
        };
    }
}

<div.foo>
    count:${state.count}
</div>
